#GRUB_DEFAULT=saved
GRUB_DEFAULT=0
#GRUB_TIMEOUT=5
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR="Manjaro"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=26e32979-c55b-41f1-b264-499a42af8733"
#removed swap partition:GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID=26e32979-c55b-41f1-b264-499a42af8733"
GRUB_CMDLINE_LINUX_DEFAULT=""
#GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX="root_trim=yes rd.luks.allow-discards ipv6.disable=1 loglevel=9 log_buf_len=16M printk.always_kmsg_dump=y printk.time=y printk.devkmsg=on mminit_loglevel=0 memory_corruption_check=1 nohz=on rcu_nocbs=1-3 fbcon=scrollback:4096k fbcon=font:ProFont6x11 acpi_backlight=vendor radeon.audio=0 radeon.lockup_timeout=999000 radeon.test=0 radeon.agpmode=-1 radeon.benchmark=0 radeon.tv=0 radeon.hard_reset=1 radeon.msi=1 radeon.pcie_gen2=-1 radeon.no_wb=1 radeon.dynclks=0 radeon.r4xx_atom=0 radeonfb radeon.fastfb=1 radeon.dpm=1 radeon.runpm=1 net.ifnames=1 pax_sanitize_slab=full noefi nolvm dobtrfs console=tty1 earlyprintk=vga CPUunderclocking radeon.modeset=1 audit=0 systemd.log_target=kmsg enforcing=0 pcie_aspm=off radeon.aspm=0 udev.children-max=1256 rd.udev.children-max=1256"
#remove more debug (29 aug 2016):
#dynamic_debug.verbose=1 dyndbg=\"file arch/x86/kernel/apic/* +pflmt ; file drivers/video/* +pflmt ; file drivers/input/* -pflmt ; file drivers/acpi/* -pflmt\"
#apic=debug rd.debug rd.udev.debug rd.memdebug=3 slub_debug=U edac_debug_level=4 pnp.debug=1
#debug ignore_loglevel
#systemd.log_level=debug  =tons of logging
#no665wo to disable the amd cpu errata 665 - bad idea! so don't use this! - has no effect on the reboot/shutdown issues here: https://bugzilla.kernel.org/show_bug.cgi?id=151631 and the other two
#XXX: no pcie_aspm=force because log says things like: [    1.358855] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
#and later says: [    2.114433] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
#[    2.137253] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
#Also: setting this old one radeon.aspm=1 to 0 because: - The radeon.aspm=0 kernel module parameter has been introduced for disabling ASPM support. PCI Express Active-State Power Management (PCI-E ASPM) was added for the open Radeon driver as part of the DPM changes, but for certain motherboards it will lead to hangs. For those that remember the ASPM power issues Phoronix uncovered in years prior, this shouldn't be a big surprise, but now if you're hitting hangs there is this workaround. 
#
#
#this worked: udev.children-max=256  (default 16) boot is faster by at least 4 seconds(25-26 instead of 29sec which is so slow(instead of the usual 9-11sec because lots of debug output is turned on, btw)
#Has no effect//rd.udev.children-max=256 see: man systemd-udevd
#printk.devkmsg=on (aka no rate limiting) https://patchwork.kernel.org/patch/9216393/
#gentoo specific? : dolvm dobtrfs noefi
#audit=0 from https://www.redhat.com/archives/linux-audit/2014-January/msg00126.html to avoid messages like this: [ 2307.128850] audit: type=1326 audit(1466449936.963:193): auid=1000 uid=1000 gid=1000 ses=1 pid=5833 comm="chromium" exe="/usr/lib/chromium/chromium" sig=0 arch=c000003e syscall=273 compat=0 ip=0x7f3264cac414 code=0x50000
#

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
#GRUB_SAVEDEFAULT=true
GRUB_SAVEDEFAULT=false

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
GRUB_TERMINAL_OUTPUT="console" #gfxterm vga_text spkmodem

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
GRUB_DISABLE_LINUX_UUID=false

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY=true
GRUB_DISABLE_RECOVERY=false

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"


GRUB_TIMEOUT_STYLE=menu
GRUB_DISABLE_OS_PROBER=true
GRUB_ENABLE_CRYPTODISK=n

